Analysis of statically determinate trusses